package com.interview.ujiuye1;

/**
 * Copyright (C), 2018-2020
 * FileName: Student
 * Author:   kongfanyu
 * Date:     2020/9/14 13:58
 */
public class Student extends Person {
    private String name;

    public Student() {
    }

    public static void run() {
        System.out.println(1);
    }

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                '}';
    }
}
